import request from "@/utils/request";

export const addLottery = async (data) => {
  return request({
    url: "/lotterys/biz/lottery-add",
    method: "POST",
    data,
  });
};


export const getLottery = async () => {
  return request({
    url: "/lotterys/biz/lottery-query",
    method: "GET",
  });
};


export const deleteLottery = async (data) => {
  return request({
    url: "/lotterys/biz/lottery-delete",
    method: "POST",
    data,
  });
};